package cn.ks.feign;


import cn.ks.domain.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "shop-system")
public interface GoodsService {
    @GetMapping("goods/{id}")
    Goods getType(@PathVariable("id")Long id);
}
